﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using GameSchool.Models;
using System.Data.Entity.ModelConfiguration.Conventions;
using GameSchool.Models.Common;

namespace GameSchool.Repository.Repositories.RuGameSchool
{

    public class RuGameSchoolContext : DbContext
    {
        public DbSet<Notification> Notifications { get; set; }
        public DbSet<Person> Persons { get; set; }

        public DbSet<Course> Courses { get; set; }
        public DbSet<CourseBook> CourseBooks { get; set; }
        
        public DbSet<Level> Levels { get; set; }
        public DbSet<LevelParticipate> LevelParticipates { get; set; }
        
        public DbSet<Assignment> Assignments { get; set; }
        public DbSet<AssignmentQuestion> AssignmentQuestions { get; set; }
        
        public DbSet<StudentAnswer> StudentAnswers { get; set; }

        public DbSet<TeacherCourse> TeacherCourse { get; set; }
        public DbSet<StudentCourse> StudentCourse { get; set; }

        public DbSet<VideoLecture> VideoLectures { get; set; }
    }
}